<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>main_top</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        p{
            color: white;
            font-size: 24px;
            display: inline-block;
            margin-top:20px;
            margin-left:20px;
        }
        a{
            color: pink;
        }
        
        div{
        	background-color: rgb(232, 151, 101);
        	width: 100%;
        	height: 80px;
        }
    </style>
</head>
<body>
    <div>
        <p>云彩新闻系统管理后台</p>
        <p style="margin-left: 700px;">欢迎您:<%=session.getAttribute("username") %>(<% String role = (String)session.getAttribute("role");
						if(role.equals("0")){
							out.write("管理员");
						}else{
							out.write("普通用户");
						}
				%>)<a href="${pageContext.request.contextPath}/loginOutServlet" target="iframeTop">退出</a></p>
    </div>
</body>
</html>